# -*- coding:utf-8 -*-
from flask import Blueprint
from flask_restful import Api
from .map_data_pi import MapDataApi

resources_blueprints = Blueprint('resources', __name__)
# 先在这里创建实例，然后在create_app()中初始化
resources_api = Api()

# 注册对象到url
resources_api.add_resource(MapDataApi, '/map-data')